<%@ taglib uri="/struts-tags" prefix="s"  %>

<s:if test="hasActionErrors()">
  <table class="std_table full_width">
    <tr>
      <td height="10"></td>
    </tr>
    <tr>
      <td>
        <fieldset>
          <legend class="error_title"><s:label key="label.msg.error"></s:label></legend>
          <table class="std_table full_width">
            <tr>
              <td class="error_txt" height="5"></td>
            </tr>
            <tr>
              <td class="error_txt">
                <s:actionerror />
              </td>
            </tr>
            <tr>
              <td class="error_txt" height="5"></td>
            </tr>
          </table>
        </fieldset>
      </td>
    </tr>
  </table>
</s:if>

<s:if test="hasFieldErrors()">
  <table class="std_table full_width">
    <tr>
      <td height="10"></td>
    </tr>
    <tr>
      <td>
        <fieldset>
          <legend class="error_title"><s:label key="label.msg.error"></s:label></legend>
          <table class="std_table full_width">
            <tr>
              <td class="error_txt" height="5"></td>
            </tr>
            <tr>
              <td class="error_txt">
                <s:fielderror />
              </td>
            </tr>
            <tr>
              <td class="error_txt" height="5"></td>
            </tr>
          </table>
        </fieldset>
      </td>
    </tr>
  </table>
  
</s:if>

<s:if test="hasActionMessages()">
  <table class="std_table full_width">
    <tr>
      <td height="10"></td>
    </tr>
    <tr>
      <td>
        <fieldset>
          <legend class="message_title"><s:label key="label.msg.info"></s:label></legend>
          <table class="std_table full_width">
            <tr>
              <td class="message_txt" height="5"></td>
            </tr>
            <tr>
              <td class="message_txt">
                <s:actionmessage />              
              </td>
            </tr>
            <tr>
              <td class="message_txt" height="5"></td>
            </tr>
          </table>
        </fieldset>
      </td>
    </tr>
  </table>
</s:if>

